#ifndef __PARSEREXCEPTION_H__
#define __PARSEREXCEPTION_H__

#include <exception>
#include <string>
#include <sstream>

using namespace std;

class ParserException : public exception {
  private:
	  string label_err;
	  string line_err;
	  string msg_err;
	  string i2str(int i);

  public:
	  ParserException ( const string &err , const string &label ,const int line );
	  ParserException ( const string &err , const string &label ,const string &line );
	  string mensaje();
};

#endif